package org.jadestudio.home.service;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.jadestudio.dsdown.dao.GameManageDao;
import org.jadestudio.home.dao.FeedDao;
import org.jadestudio.home.entity.*;

public class FeedService {
	private FeedDao feedDao; 
	
	public FeedDao getFeedDao() {
		return feedDao;
	}

	public void setFeedDao(FeedDao feedDao) {
		this.feedDao = feedDao;
	}
	/**
	 * 根据获取橱窗列表
	 * @param 
	 */
	public List getFeedList(){
		try {
			List<Map> feedList = feedDao.getFeedList();
			return feedList;			
		} catch (Exception e) {
			e.printStackTrace();
			return null;
		}

	}	
}
